x is the Number for which you want the Absolute Value returned.
Abs returns the value of x, ignoring any negative values.
Rem Basic syntax
If Abs(37 - {file.FIELD}) > 1 Then
formula = "Maintenance, Temperature Check"
End If
//Crystal syntax
If Abs(37 - {file.FIELD}) > 1 Then
"Maintenance, Temperature Check"
Else
"" ;
This flags instances where a laboratory heat block has a temperature variation greater than +/- 1 degree C.
This function is designed to work like the Visual Basic function of the same name.
| Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com |